package com.chouxiaozi.dao;

import com.chouxiaozi.domain.Order;
import org.apache.ibatis.annotations.Param;

public interface OrderDao {
    //新建订单
    void create(Order order);

    //修改订单状态，从零改为1
    void update(@Param("userId") Integer userId, @Param("status") Integer status);
}
